<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加数据字典</title>
<link rel="stylesheet" type="text/css" href="$request.getContextPath()/resources/layui/css/layui.css">
<link rel="stylesheet" href="$request.getContextPath()/resources/cws/system/ddl/add.css"/>
</head>
<body>
<form class="layui-form" action="">
  <div class="layui-form-item">
    <label class="layui-form-label">字典内码</label>
    <div class="layui-input-inline">
      <input type="text" name="ddlCode" required  lay-verify="uniqueDDLCode" placeholder="请输入字典内码" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-form-mid layui-word-aux">字典内码(英文标注唯一性)</div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">字典名称</label>
    <div class="layui-input-inline">
      <input type="text" name="ddlName" required  lay-verify="uniqueDDLName" placeholder="请输入字典名称" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-form-mid layui-word-aux">字典名称(中文标识唯一性)</div>
  </div>
  <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">字典描述</label>
    <div class="layui-input-block">
      <textarea id="ddlDesc" name="remark" placeholder="请输入字典描述" class="layui-textarea"></textarea>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-input-block submit-btn">
      <button class="layui-btn" lay-submit lay-filter="addDDLForm">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
<script type="text/javascript" src="$request.getContextPath()/resources/jquery/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/layui/layui.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/layui/lay/modules/element.js"></script>
<script type="text/javascript" src="$request.getContextPath()/resources/cws/system/ddl/add.js"></script>
</body>
</html>